package com.hsm4;

public class Cat extends Animal {
    double weight;
    //将shout函数向上抽取，进行优化
    public void shout(){
        System.out.println("喵~");
    }
    public void scratch(){
        System.out.println("我会抓人");
    }
}
